Derivation of first equation of motion